package com.wc.client.control.impl;

import com.wc.client.control.interfaces.LoginInterface;

public class LoginInterfaceFactory {

	private static boolean _isMock = true;
	
	public static LoginInterface getLoginInterface()
	{
		if (true == _isMock)
		{
			return getMockLoginInterface();
		}
		else
		{
			return getRPCLoginInterface();
		}
	}
	
	private static  LoginInterface getMockLoginInterface()
	{
		return new MockLoginManager();
	}
	
	private static LoginInterface getRPCLoginInterface()
	{
		assert(true);
		System.err.println("no impl");
		return null;
	}
}
